package com.ztgf.pay.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class PayUserBalanceVO implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "用户账号")
    private String userNo;
    @ApiModelProperty(value = "中金银行电子账号")
    private String bankNo;
    @ApiModelProperty(value = "中金电子账号归属支行名称")
    private String bankName;
    @ApiModelProperty(value = "总余额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal balanceMoney;
    @ApiModelProperty(value = "冻结余额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal freezeMoney;
    @ApiModelProperty(value = "可用余额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal useMoney;
    @ApiModelProperty(value = "不可提现金额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal noWithdrawMoney;
}
